//
// ipc.h
// 
#ifndef _IPC_H_
#define _IPC_H_

#include <type.h>
#include <sys/types.h>

/* Message type */
struct message
{
	size_t size;
	pid_t pid;
	char dat;
};

int send(pid_t dst, struct message *msg);
int receive(pid_t src, struct message *msg);

#define PID_ANY		(pid_t)0xFFFF

#endif

